import { request } from '../request'
import type { DashboardStats } from '@/types'

/**
 * 获取仪表盘统计数据
 * @returns DashboardStats
 */
export const getDashboardStats = (): Promise<DashboardStats> => {
  return request.get('/api/order-service/admin/dashboard/stats')
}
